<?php
/**
 * Created by PhpStorm.
 * Author: 黑瞎子
 * Date: 2018/4/4
 * Time: 13:30
 */

namespace app\api\model;


class ThirdApp extends BaseModel
{
    public static function check($ac, $se){
        $app = self::where('app_id','=',$ac)
                ->where('app_secret','=',$se)
            ->find();
        return $app;
    }
}